package com.ruoyi.aitapp.vo;

import java.util.List;

import lombok.Data;

@Data
public class BarcodeConfigVO {
    private List<Assign> assign;
    private List<Rule> rules;
    private List<Print> prints;

    @Data
    public static class Assign {
        private String ruleCode;
        private String category;
    }

    @Data
    public static class Rule {
        private String code;
        private String name;
        private String delimiter;
        private boolean enable;
        private List<Line> lines;
    }

    @Data
    public static class Line {
        private String code;
        private String name;
        private String metadata;
        private boolean required;
        private boolean isSerial;
        private String type;
        private String refView;
        private String refPath;
        private String verify;
    }

    @Data
    public static class Print {
        private String printTemplateID;
        private String erpView;
        private String erpSaveDir;
        private String erpUrl;
        private String printerName;
        private String erpPath;
    }
}
